function ParseHelper() {


}

ParseHelper.getArray = function (oldArray) {
    console.log(' oldArray ', oldArray)
    let list = []
    for (let index = 0; index < oldArray.length; index++) {
        const element = oldArray[index];
        if (element != undefined) {
            list.push(element)
        } else {
            if (index > 3) {
                break;
            } else {
                list.push('')
            }

        }

    }
    return list;
}

module.exports = ParseHelper